package com.acme.bankapp.event.listener;

import com.acme.bankapp.domain.bank.Client;

/**
 * @author Gregory Sobko
 * Interface representing client registration listener.
 */
public interface ClientRegistrationListener {
    /**
     * Triggered on {@link com.acme.bankapp.domain.bank.Bank#addClient(com.acme.bankapp.domain.bank.Client) Bank.addClient}
     * @param client Client that was jsut added
     */
    void onClientAdded(Client client);
}
